package com.gimi.cloud.bbp.manage.consumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.context.annotation.ComponentScan;

/**
 * Created by luck on 2017/09/28.
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@EnableHystrix
@EnableHystrixDashboard
@ComponentScan({"com.gimi.cloud.bbp.manage.consumer","com.gimi.cloud.bbp.commonService.mq"})
public class ManageConsumerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ManageConsumerApplication.class, args);
    }
}
